package com.genshang.restaurant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex
 * @since 2020-10-24
 */
@TableName("COUPONLIST")
public class Couponlist extends Model<Couponlist> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RECORD_ID", type = IdType.AUTO)
    private Long recordId;

    @TableField("COUPONUID")
    private String couponuid;

    @TableField("COUPONMANAGEUID")
    private String couponmanageuid;

    @TableField("NUMBER")
    private String number;

    @TableField("ENDTIME")
    private Long endtime;

    @TableField("TYPE")
    private String type;

    @TableField("MODALITY")
    private String modality;

    @TableField("FULLMONEY")
    private Double fullmoney;

    @TableField("MINUSMONEY")
    private Double minusmoney;

    @TableField("SHOPNAMELIST")
    private String shopnamelist;

    @TableField("REMARKS")
    private String remarks;

    @TableField("STATE")
    private String state;

    @TableField("ID")
    private String id;

    @TableField("CREATETIME")
    private Long createtime;

    @TableField("MODIFYTIME")
    private Long modifytime;

    @TableField("CUSTOMERID")
    private String customerid;

    @TableField("CUSTOMERUID")
    private String customeruid;

    @TableField("CUSTOMERNAME")
    private String customername;

    @TableField("PHONE")
    private String phone;

    @TableField("QRCODEURL")
    private String qrcodeurl;

    @TableField("QRCODEUID")
    private String qrcodeuid;

    @TableField("COUPONSTATE")
    private String couponstate;

    @TableField("CURRENTCUSTOMERID")
    private String currentcustomerid;

    @TableField("CURRENTCUSTOMERUID")
    private String currentcustomeruid;

    @TableField("CURRENTCUSTOMERNAME")
    private String currentcustomername;

    @TableField("CURRENTPHONE")
    private String currentphone;

    @TableField("USEDCUSTOMERID")
    private String usedcustomerid;

    @TableField("USEDCUSTOMERUID")
    private String usedcustomeruid;

    @TableField("USEDCUSTOMERNAME")
    private String usedcustomername;

    @TableField("USEDPHONE")
    private String usedphone;

    @TableField("USEDTIME")
    private Long usedtime;

    @TableField("USERID")
    private String userid;

    @TableField("USERUID")
    private String useruid;

    @TableField("USERNAME")
    private String username;

    /**
     * 操作员ID
     */
    @TableField("OPERATERID")
    private String operaterid;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public String getCouponuid() {
        return couponuid;
    }

    public void setCouponuid(String couponuid) {
        this.couponuid = couponuid;
    }
    public String getCouponmanageuid() {
        return couponmanageuid;
    }

    public void setCouponmanageuid(String couponmanageuid) {
        this.couponmanageuid = couponmanageuid;
    }
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }
    public Long getEndtime() {
        return endtime;
    }

    public void setEndtime(Long endtime) {
        this.endtime = endtime;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getModality() {
        return modality;
    }

    public void setModality(String modality) {
        this.modality = modality;
    }
    public Double getFullmoney() {
        return fullmoney;
    }

    public void setFullmoney(Double fullmoney) {
        this.fullmoney = fullmoney;
    }
    public Double getMinusmoney() {
        return minusmoney;
    }

    public void setMinusmoney(Double minusmoney) {
        this.minusmoney = minusmoney;
    }
    public String getShopnamelist() {
        return shopnamelist;
    }

    public void setShopnamelist(String shopnamelist) {
        this.shopnamelist = shopnamelist;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
    public Long getModifytime() {
        return modifytime;
    }

    public void setModifytime(Long modifytime) {
        this.modifytime = modifytime;
    }
    public String getCustomerid() {
        return customerid;
    }

    public void setCustomerid(String customerid) {
        this.customerid = customerid;
    }
    public String getCustomeruid() {
        return customeruid;
    }

    public void setCustomeruid(String customeruid) {
        this.customeruid = customeruid;
    }
    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getQrcodeurl() {
        return qrcodeurl;
    }

    public void setQrcodeurl(String qrcodeurl) {
        this.qrcodeurl = qrcodeurl;
    }
    public String getQrcodeuid() {
        return qrcodeuid;
    }

    public void setQrcodeuid(String qrcodeuid) {
        this.qrcodeuid = qrcodeuid;
    }
    public String getCouponstate() {
        return couponstate;
    }

    public void setCouponstate(String couponstate) {
        this.couponstate = couponstate;
    }
    public String getCurrentcustomerid() {
        return currentcustomerid;
    }

    public void setCurrentcustomerid(String currentcustomerid) {
        this.currentcustomerid = currentcustomerid;
    }
    public String getCurrentcustomeruid() {
        return currentcustomeruid;
    }

    public void setCurrentcustomeruid(String currentcustomeruid) {
        this.currentcustomeruid = currentcustomeruid;
    }
    public String getCurrentcustomername() {
        return currentcustomername;
    }

    public void setCurrentcustomername(String currentcustomername) {
        this.currentcustomername = currentcustomername;
    }
    public String getCurrentphone() {
        return currentphone;
    }

    public void setCurrentphone(String currentphone) {
        this.currentphone = currentphone;
    }
    public String getUsedcustomerid() {
        return usedcustomerid;
    }

    public void setUsedcustomerid(String usedcustomerid) {
        this.usedcustomerid = usedcustomerid;
    }
    public String getUsedcustomeruid() {
        return usedcustomeruid;
    }

    public void setUsedcustomeruid(String usedcustomeruid) {
        this.usedcustomeruid = usedcustomeruid;
    }
    public String getUsedcustomername() {
        return usedcustomername;
    }

    public void setUsedcustomername(String usedcustomername) {
        this.usedcustomername = usedcustomername;
    }
    public String getUsedphone() {
        return usedphone;
    }

    public void setUsedphone(String usedphone) {
        this.usedphone = usedphone;
    }
    public Long getUsedtime() {
        return usedtime;
    }

    public void setUsedtime(Long usedtime) {
        this.usedtime = usedtime;
    }
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }
    public String getUseruid() {
        return useruid;
    }

    public void setUseruid(String useruid) {
        this.useruid = useruid;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getOperaterid() {
        return operaterid;
    }

    public void setOperaterid(String operaterid) {
        this.operaterid = operaterid;
    }

    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }

    @Override
    public String toString() {
        return "Couponlist{" +
            "recordId=" + recordId +
            ", couponuid=" + couponuid +
            ", couponmanageuid=" + couponmanageuid +
            ", number=" + number +
            ", endtime=" + endtime +
            ", type=" + type +
            ", modality=" + modality +
            ", fullmoney=" + fullmoney +
            ", minusmoney=" + minusmoney +
            ", shopnamelist=" + shopnamelist +
            ", remarks=" + remarks +
            ", state=" + state +
            ", id=" + id +
            ", createtime=" + createtime +
            ", modifytime=" + modifytime +
            ", customerid=" + customerid +
            ", customeruid=" + customeruid +
            ", customername=" + customername +
            ", phone=" + phone +
            ", qrcodeurl=" + qrcodeurl +
            ", qrcodeuid=" + qrcodeuid +
            ", couponstate=" + couponstate +
            ", currentcustomerid=" + currentcustomerid +
            ", currentcustomeruid=" + currentcustomeruid +
            ", currentcustomername=" + currentcustomername +
            ", currentphone=" + currentphone +
            ", usedcustomerid=" + usedcustomerid +
            ", usedcustomeruid=" + usedcustomeruid +
            ", usedcustomername=" + usedcustomername +
            ", usedphone=" + usedphone +
            ", usedtime=" + usedtime +
            ", userid=" + userid +
            ", useruid=" + useruid +
            ", username=" + username +
            ", operaterid=" + operaterid +
        "}";
    }
}
